<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <!-- import CSS -->
    <!--<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">-->
    <link rel="stylesheet" href="node_modules/element-ui/lib/theme-chalk/index.css">
    <!-- import Vue before Element -->
    <!--<script src="https://unpkg.com/vue@2/dist/vue.js"></script>-->
    <script src="node_modules/vue/dist/vue.js"></script>
    <!-- import JavaScript -->
    <!--<script src="https://unpkg.com/element-ui/lib/index.js"></script>-->
    <script src="node_modules/element-ui/lib/index.js"></script>
</head>
<body>
    <div id="app">
        <h1>测试Vue页面</h1>
        <hr>
        <el-button @click="visible = true">Button</el-button>
        点击后会有弹窗
        <el-dialog :visible.sync="visible" title="Hello world">
            <p>Try Element</p>
        </el-dialog>
    </div>
</body>

<!--挂载Vue-->
<script>
    new Vue({
        el: '#app',
        data:{
            visible:false
        }
    })
</script>

</html>